@import '~antd/es/style/themes/default.less';
@import '~quill/dist/quill.snow.css';
@import '~highlight.js/styles/github.css';
@import './markdown';

html,
body,
#root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  background-color: @layout-body-background;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

.audioProgressBar {
  .ant-slider-track {
    background-color: #69c0ff !important;
  }
  &:hover .ant-slider-rail {
    background-color: #f5f5f5 !important;
  }
}

.ql-toolbar.ql-snow {
  border-color: @normal-color;
  border-top: none;
  border-right: none;
  border-left: none;
}

.ql-container.ql-snow {
  border: none;
  &.ql-disabled .ql-editor {
    padding: 0;
  }
}
